Microsoft DirectX 8.1 (C++)

ICADenial.Description

This topic applies to Windows XP Home Edition and Windows XP Professional only.

The Description property sets or returns a description of the denial.

Syntax

objCADenial.Description(
    enFormat As CADescFormat) As String

Parameters

  enFormat

CADescFormat constant, specifying the format to retrieve.

Error Codes

If the property fails, an error is raised and Err.Number is set to a value other than zero.

Return Values

Returns a string containing the description.

Remarks

After a policy creates a new denial, it should set the long, HTML, and XML descriptions. An application might be attempting to display one of these formats, so the policy should set the descriptions as soon as possible. Setting this property triggers a StateChanged event.

This property is read/write.

See Also